package com.model.pojo;

import org.springframework.stereotype.Component;

@Component
public class MedicalCard {
    private int medicalCardId;
    private String medicalCardNumber;
    private int buildCardInumber;
    private String medicalCardBalance;

    public MedicalCard() {
    }

    @Override
    public String toString() {
        return "MedicalCard{" +
                "medicalCardId='" + medicalCardId + '\'' +
                ", medicalCardNumber='" + medicalCardNumber + '\'' +
                ", buildCardInumber='" + buildCardInumber + '\'' +
                ", medicalCardBalance='" + medicalCardBalance + '\'' +
                '}';
    }

    public MedicalCard(int medicalCardId, String medicalCardNumber, int buildCardInumber, String medicalCardBalance) {
        this.medicalCardId = medicalCardId;
        this.medicalCardNumber = medicalCardNumber;
        this.buildCardInumber = buildCardInumber;
        this.medicalCardBalance = medicalCardBalance;
    }

    public int getMedicalCardId() {
        return medicalCardId;
    }

    public void setMedicalCardId(int medicalCardId) {
        this.medicalCardId = medicalCardId;
    }

    public String getMedicalCardNumber() {
        return medicalCardNumber;
    }

    public void setMedicalCardNumber(String medicalCardNumber) {
        this.medicalCardNumber = medicalCardNumber;
    }

    public int getBuildCardInumber() {
        return buildCardInumber;
    }

    public void setBuildCardInumber(int buildCardInumber) {
        this.buildCardInumber = buildCardInumber;
    }

    public String getMedicalCardBalance() {
        return medicalCardBalance;
    }

    public void setMedicalCardBalance(String medicalCardBalance) {
        this.medicalCardBalance = medicalCardBalance;
    }
}
